

/* Responsive grid inspired by Skeleton */
/* Default 960 grid */
.row-ser { position: relative; width: 960px; margin: 0 auto; } /* 960px */
.row-ser .column, .row-ser .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }

/* Nested column classes */
.column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; }

/* Base grid */
.row-ser .one.column,
.row-ser .one.columns { width: 60px; }
.row-ser .two.columns { width: 140px; }
.row-ser .three.columns { width: 220px; }
.row-ser .four.columns { width: 300px; }
.row-ser .five.columns { width: 380px; }
.row-ser .six.columns { width: 460px; }
.row-ser .seven.columns { width: 540px; }
.row-ser .eight.columns { width: 620px; }
.row-ser .nine.columns { width: 700px; }
.row-ser .ten.columns { width: 780px; }
.row-ser .eleven.columns { width: 860px; }
.row-ser .twelve.columns { width: 940px; }

/* Special layout grid */
.row-ser .desktop-one.column,
.row-ser .desktop-one.columns { width: 60px; }
.row-ser .desktop-two.columns { width: 140px; }
.row-ser .desktop-three.columns { width: 220px; }
.row-ser .desktop-four.columns { width: 300px; }
.row-ser .desktop-five.columns { width: 380px; }
.row-ser .desktop-six.columns { width: 460px; }
.row-ser .desktop-seven.columns { width: 540px; }
.row-ser .desktop-eight.columns { width: 620px; }
.row-ser .desktop-nine.columns { width: 700px; }
.row-ser .desktop-ten.columns { width: 780px; }
.row-ser .desktop-eleven.columns { width: 860px; }
.row-ser .desktop-twelve.columns { width: 940px; }

/* Offsets */
.row-ser .offset-by-one { margin-left: 90px; }
.row-ser .offset-by-two { margin-left: 170px; }
.row-ser .offset-by-three { margin-left: 250px; }
.row-ser .offset-by-four { margin-left: 330px; }
.row-ser .offset-by-five { margin-left: 410px; }
.row-ser .offset-by-six { margin-left: 490px; }
.row-ser .offset-by-seven { margin-left: 570px; }
.row-ser .offset-by-eight { margin-left: 650px; }
.row-ser .offset-by-nine { margin-left: 730px; }
.row-ser .offset-by-ten { margin-left: 810px; }
.row-ser .offset-by-eleven { margin-left: 890px; }

/* Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
.row-ser { width: 720px; } /* count 700px */
.row-ser .column,
.row-ser .columns { margin-left: 10px; margin-right: 10px; }
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
.alpha.omega { margin-left: 0; margin-right: 0; }

/* Base grid */
.row-ser .one.column,
.row-ser .one.columns { width: 40px; }
.row-ser .two.columns { width: 100px; }
.row-ser .three.columns { width: 160px; }
.row-ser .four.columns  { width: 220px; }
.row-ser .five.columns  { width: 280px; }
.row-ser .six.columns { width: 340px; }
.row-ser .seven.columns { width: 400px; }
.row-ser .eight.columns { width: 460px; }
.row-ser .nine.columns  { width: 520px; }
.row-ser .ten.columns { width: 580px; }
.row-ser .eleven.columns { width: 640px; }
.row-ser .twelve.columns { width: 700px; }

/* Special layout grid */
.row-ser .tablet-one.column,
.row-ser .tablet-one.columns { width: 40px; }
.row-ser .tablet-two.columns { width: 100px; }
.row-ser .tablet-three.columns { width: 160px; }
.row-ser .tablet-four.columns  { width: 220px; }
.row-ser .tablet-five.columns  { width: 280px; }
.row-ser .tablet-six.columns { width: 340px; }
.row-ser .tablet-seven.columns { width: 400px; }
.row-ser .tablet-eight.columns { width: 460px; }
.row-ser .tablet-nine.columns  { width: 520px; }
.row-ser .tablet-ten.columns { width: 580px; }
.row-ser .tablet-eleven.columns { width: 640px; }
.row-ser .tablet-twelve.columns { width: 700px; }

/* Offsets */
.row-ser .offset-by-one { margin-left: 70px; }
.row-ser .offset-by-two { margin-left: 130px; }
.row-ser .offset-by-three { margin-left: 190px; }
.row-ser .offset-by-four { margin-left: 250px; }
.row-ser .offset-by-five { margin-left: 310px; }
.row-ser .offset-by-six { margin-left: 370px; }
.row-ser .offset-by-seven { margin-left: 430px; }
.row-ser .offset-by-eight { margin-left: 490px; }
.row-ser .offset-by-nine { margin-left: 550px; }
.row-ser .offset-by-ten { margin-left: 610px; }
.row-ser .offset-by-eleven { margin-left: 670px; }
}

/* Mobile (Portrait) */
@media only screen and (max-width: 767px) {
.row-ser { width: 300px; }
.row-ser .columns,
.row-ser .column { margin-left: 0; margin-right: 0; }
.row-ser .one.column,
.row-ser .one.columns,
.row-ser .two.columns,
.row-ser .three.columns,
.row-ser .four.columns,
.row-ser .five.columns,
.row-ser .six.columns,
.row-ser .seven.columns,
.row-ser .eight.columns,
.row-ser .nine.columns,
.row-ser .ten.columns,
.row-ser .eleven.columns,
.row-ser .twelve.columns{ width: 300px; }

/* Special layout grid */
.row-ser .mobile-one.column,
.row-ser .mobile-one.columns,
.row-ser .mobile-two.columns,
.row-ser .mobile-three.columns,
.row-ser .mobile-four.columns,
.row-ser .mobile-five.columns,
.row-ser .mobile-six.columns,
.row-ser .mobile-seven.columns,
.row-ser .mobile-eight.columns,
.row-ser .mobile-nine.columns,
.row-ser .mobile-ten.columns,
.row-ser .mobile-eleven.columns,
.row-ser .mobile-twelve.columns { width: 300px; }

/* Offsets */
.row-ser .offset-by-one,
.row-ser .offset-by-two,
.row-ser .offset-by-three,
.row-ser .offset-by-four,
.row-ser .offset-by-five,
.row-ser .offset-by-six,
.row-ser .offset-by-seven,
.row-ser .offset-by-eight,
.row-ser .offset-by-nine,
.row-ser .offset-by-ten,
.row-ser .offset-by-eleven { margin-left: 0; }
}

/* Mobile (Landscape) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.row-ser { width: 480px; }
.row-ser .columns,
.row-ser .column { margin-left: 5px; margin-right: 5px; }
.row-ser .one.column,
.row-ser .one.columns,
.row-ser .two.columns,
.row-ser .three.columns,
.row-ser .four.columns,
.row-ser .five.columns,
.row-ser .six.columns,
.row-ser .seven.columns,
.row-ser .eight.columns,
.row-ser .nine.columns,
.row-ser .ten.columns,
.row-ser .eleven.columns,
.row-ser .twelve.columns { width: 470px; }

/* Special layout grid */
.row-ser .mobile-one.column,
.row-ser .mobile-one.columns { width: 30px; }
.row-ser .mobile-two.columns { width: 70px; }
.row-ser .mobile-three.columns { width: 110px; }
.row-ser .mobile-four.columns { width: 150px; }
.row-ser .mobile-five.columns { width: 190px; }
.row-ser .mobile-six.columns { width: 230px; }
.row-ser .mobile-seven.columns { width: 270px; }
.row-ser .mobile-eight.columns { width: 310px; }
.row-ser .mobile-nine.columns { width: 350px; }
.row-ser .mobile-ten.columns { width: 390px; }
.row-ser .mobile-eleven.columns { width: 430px; }
.row-ser .mobile-twelve.columns { width: 470px; }

/* Offsets */
.row-ser .offset-by-one,
.row-ser .offset-by-two,
.row-ser .offset-by-three,
.row-ser .offset-by-four,
.row-ser .offset-by-five,
.row-ser .offset-by-six,
.row-ser .offset-by-seven,
.row-ser .offset-by-eight,
.row-ser .offset-by-nine,
.row-ser .offset-by-ten,
.row-ser .offset-by-eleven { margin-left: 5px; }
}

/* Clearing */
/* Use clearfix class on parent to clear nested columns, or wrap each row-ser of columns in a <div class="row-ser"> */
.row-ser:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix:before,
.clearfix:after,
.row-ser:before,
.row-ser:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.row-ser:after,
.clearfix:after {
clear: both; }
.row-ser,
.clearfix {
zoom: 1; }
/* You can also use a <br class="clear" /> to clear columns */
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}